
package com.wyzz.hr.bo;

import java.util.*;

import com.wyzz.hr.pojo.Attendshift;
import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Empshift;

public interface IEmpshiftBo {

	public abstract boolean addEmpshift(Empshift empshift);

	public abstract boolean updateEmpshift(Empshift empshift);

	public abstract boolean deleteEmpshift(Empshift empshift);

	public abstract Empshift getEmpshift(String s);

	public abstract boolean batchSaveEmpshift(List list, List list1);

	public abstract Attendshift getEmpShiftByDate(Date date, Employee employee);

	public abstract List getEmpShiftList(Date date, Date date1, String s);

	public abstract HashMap getEmpshiftList(String as[], Date adate[]);

	public abstract HashMap getEmpshiftList(String as[], Date date, Date date1);

	public abstract Integer isInWorkShift(Date date, List list);

	public abstract int computeTotalLeaveMinutes(Date date, Date date1,
			List list);

	public abstract List validateShift(List list, Map map);

	public abstract void checkShiftSchedule(List list, String as[], List list1);

	public abstract Map provideEmpShiftData(String as[], Date date, Date date1);

	public abstract Attendshift changeAttdSessionWithOR(Date date,
			Attendshift attendshift, List list);

	public abstract void provideDefaultShift(Map map, Date date, Date date1,
			List list);
}
